<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 17-4-27
 * Time: 上午10:32
 */

namespace api\modules\test\controllers;


use common\components\tools\Tools;
//use wodrow\yii\rest\Controller;
use yii\web\Controller;
use yii\helpers\ArrayHelper;

class Test1Controller extends Controller
{
    /**
     * 测试
     */
    public function actionTest()
    {
        $this->enableCsrfValidation = false;
        header("Access-Control-Allow-Origin: *");
        echo "Fasdfasdf";
        exit;
    }
}